Refactoring to work with web socket protocol library
Make code PSR-2 compliant
Refactoring interfaces
Inject request instance
Merge pull request #2 from wagnert/master

Inject request instance