Added posix example, not fully tested.
Would never have made it to third clause(for two byte extended values).
Use normal sleep call.
Added method to build message code from class and detail. Fixed decoding too.
Added CoAP Defined Constants
Improved Makefile