getting websockets working