Fixing issue https://github.com/mcavage/node-restify/issues/563