better way to test httpclient, don't modify default opts