get code from a pdu package ( POST, GET...)
Merge pull request #2 from cquijano/pdu

get code from a pdu package ( POST, GET...)