Removed InvalidTagException
Implemented IProtocol.end and added Captain-related methods to the protocol interface