mcollina/node-coap — pull request #19 by davidrojas (2014-02-27 14:19:15+00:00)
Title: Update index.js

In the documentation is not specified that when using an object instead of a string for the url parameter, hostname key must be used instead of host. I think checking for host and hostname keys should be the right way to handle it.