WARNING: This repository is no longer maintained :warning: This repository will not be updated. The repository will be kept available in read-only mode.
I believe many of the URLSession issues have been fixed, including this one in swift 3.1. Whenever there is an official release, we can try to use URLSession again.
I created the following issue on Swift Jira https://bugs.swift.org/browse/SR-2974 We can revert test code once this has been addressed.