also use "value" hash when using a websocket
Merge pull request #4 from planthaber/websock_fix

also use "value" hash when using a websocket