add hack for testing https on a proxy without a valid cert