Implemented Header parameter
Added model encoder for nullable types
Added model encoder to collection
Improved Protobuf formatter
Some fixes