fixed a bug in the protocol where some messages wouldnt carry the type. added some constructors for debug server use.
Merge branch 'master' of https://github.com/entice/protocol