Update to procotol version 22
Merge pull request #55 from nicksavers/master

Update to protocol version 22