Fix http examples to use robot instead of res, and fix option example to use https to use rejectUnauthorized