adding response.header, response.status to Coap.js