[fix] add rejectUnauthorized option