Update JSHint conf.
Fix URL if necessary.
Fix URL fixing.
Set rejectUnauthorized only for secure connection.