How can I make a multi-socket server? I'm guessing I need to have an array, and a thread?