switch to using Requests module, rip out old code