# System.Net.Http

``` diff
 namespace System.Net.Http {
+    public sealed class SocketsHttpConnectionContext {
+        public DnsEndPoint DnsEndPoint { get; }
+        public HttpRequestMessage InitialRequestMessage { get; }
+    }
     public sealed class SocketsHttpHandler : HttpMessageHandler {
+        public Func<SocketsHttpConnectionContext, CancellationToken, ValueTask<Stream>> ConnectCallback { get; set; }
-        public ConnectionFactory ConnectionFactory { get; set; }

-        public Func<HttpRequestMessage, Connection, CancellationToken, ValueTask<Connection>> PlaintextFilter { get; set; }

+        public Func<SocketsHttpPlaintextStreamFilterContext, CancellationToken, ValueTask<Stream>> PlaintextStreamFilter { get; set; }
     }
+    public sealed class SocketsHttpPlaintextStreamFilterContext {
+        public HttpRequestMessage InitialRequestMessage { get; }
+        public Version NegotiatedHttpVersion { get; }
+        public Stream PlaintextStream { get; }
+    }
 }
```

