rejectUnauthorized works in node 0.10

Closes #46