Refactor proxied request

Needed to be able to do work for calculating size of a download