Add support for encoding data types: OID, TimeTicks, and Counter

Update snmp.encode() to work with additional value types