Replace request module based HTTP requests with native http(s) module requests. Supports fallback to secondary API endpoint. Fixes #2