Fix Poseidon::Protocol::ProtocolStruct::EncodingError

Fix #59 and revert f7c7542 as suggested by @AaronLasseigne