Restructured coap_util, work on transaction peer

Currently writing utility function to send coap messages.