First draft implementation of sub protocols. Example implementation is WAMP.