[WIP] Upgrade requests

Also, I added the logging logic in from #585. This should be finished shortly.