Build the socket library and client-local port configuration for redirecting traffic to the offline service. Accept HTTPS and the existing matching and HTTP protocols on the same port. Route requests by the original host.