Add tests for WebSocket protocol methods

Add tests for WebSocket protocol methods
Add a check in deleteMessage method to check the type of the response parameter
Code cleaning and removing unnecessary trailing spaces
Update README by adding CoffeeScript Style Guide reference
you are passing nothing for fields here, this shouldn't throw `error`