Unit test for Https proxying.