trying to get web sockets to work