Basic web sockets client and server