Added a rejectUnauthorized option to ignore ssl errors.

This will add the option 'rejectUnauthorized' to ignore ssl errors (e.g. Cert. expired).