cboden/Ratchet — pull request #139 by bramus (2013-11-05 13:19:57+00:00)
Title: Make WampServer’s $wampProtocol protected to afford inheritance of the \Ratchet\Wamp\WampServer class

If `$wampProtocol` is `protected` one can implement [other WebSocket Subprotocols](http://www.iana.org/assignments/websocket/websocket.xhtml#subprotocol-name) which are based upon WAMP by extending some of the `\Ratchet\Wamp` classes.

Example: `ocpp1.5` is inspired upon WAMP ([spec](http://www.gir.fr/ocppjs/ocpp_srpc_spec.shtml)). The most easy way to implement this is to:
- Define a custom `ServerProtocol` (inspired upon `\Ratchet\Wamp\ServerProtocol`)
- Use that protocol in `\Ratchet\Wamp\WampServer` by extending the class and overriding the constructor

It's this second step in this process which requires `$wampProtocol` to be `protected` in order to work.