Added basic socket server.