fix origin header to make it work with new websocket server