Remove direct references to #websocket_req{} and hide it fully inside an accessor module
Change websocket_req:new/1 to new/11

move a couple of util funs into websocket_req
Merge pull request #2 from sanmiguel/jc-dialyzer-warnigs

Encapsulate the #websocket_req{} in a separate module