setup basic web sockets