Fix test for HTTP CONNECT requests