Connect to websocket on origin host instead of hardcoded localhost
Merge pull request #9 from njx/connection-fix

Connect to websocket on origin host instead of hardcoded localhost