Sylva is a module easy to use for building a socket server.