Refactoring connection handling out of SegmentioProvider by using AnalyticsJSONRequest