Allow decoding nested message using a separate decoder
Adding method to set nested field handler on decoder
Cleanup function if encoder encounters an error