Move websocket handling to nginx