Fixes some problems with proxy, probably #82038 and allowing PDF printing.