Update to app.js for iodocs to run properly on node version 0.10.0+. (Was getting UNABLE_TO_VERIFY_LEAF_SIGNATURE error on requests using node -v 0.10.0 without patch.)