added function to get coapoption from pdu
Merge branch 'options'