Added correct WebSocket API defaults for protocol.
Merge pull request #3 from andrewconner/fixing_protocol_compatibility

Added correct WebSocket API defaults for protocol.