Add tests for WebSocket protocol methods

Add tests for WebSocket protocol methods
Update README by adding CoffeeScript Style Guide reference
should throw error when called with a non-string as a resource paramater