added CoAP options to handler

CoAP options now passed to CoAP handlers to get query, observation,
max-age, etc.