Constants and option length calculation according to coap-draft-18