Encoding: In TlvEncoder, always pass the TLV type as unsigned int.
encoding: In the TlvEncoder class, added wrappers for writeTypeAndLength, writeBlobTlv, etc.