Starting to separate out client and server sockets.