Fixed up websocket support.