updated encoding and packing of data

Conflicts:
	lib/smpp/pdu/base.rb