setup web sockets and stuff