split protocol into client and server part
move client protocol extension to protocol
move server protocol extension to protocol