[TIMOB-15743] Added support for rejectUnauthorized to all http requests....

... Also added an online() method to the net lib.