added optional protobuf argument to @spore.handler for automatic deserialization