Connect to websocket on origin host instead of hardcoded localhost

This fix makes it so that you can run the manipulator app from a different system from the one the server is running on.