make websocket server sort of work