TST: add some basic tests for enstaller.proxy.

A small PR that adds tests around our proxy handling.