First draft of Socket Server module, which only handles single connection. Error handling and configuration interfaces is not complete.