Add features for parity with java protobuf compiler

Adds delimited encode and encodes fields in order when possible. This allows for easy use with the java protobufs compiled messages.