changes websocket-rails host loading logic