test code to bench https proxy performance