atleast websockets working! trying to make same file used by remote and localhost, my own code at config/initializers/websocket