fix for API cors issue https://github.com/mcavage/node-restify/issues/296