Configure websockets