WebSocket instance should include constants
Merge branch 'master' of github.com:remy/phonegap-websocket