Code cleanup: Remove code errors and smells in CoAP library

Description

As per https://landscape.io/github/openwsn-berkeley/coap,
cleanup CoAP library to remove errors and smells

Environment

None

Assignee

Alex Budilovsky

Reporter

Alex Budilovsky

Labels

None

Story Points

None

Priority

Normal
Configure