Implemented basic client/server functionality and socket.io support.