Allow specification of message type for bin/coap.