manager a firewall a vpn server a remote access server or an enterprise or datacenter access gateway in one embodiment client device 100 is a device that performs functions similar to service gateway 300 client device 100 initiates tcp session 400 towards server 200 via service gateway 300 server 200 is a computing device typically coupled to a processor and a computer readable medium which stores computer readable program code server 200 with the processor and the computer readable program code implements functionality of a web server a file server a video server a database server an application server a voice system a conferencing server a media gateway a media center an app server or a network server providing a tcp based service or an application service to client device 100 using the tcp session 400 in one embodiment server 200 is a device that performs functions similar to service gateway 300 in one embodiment tcp session 400 includes a http session a ftp file transfer session a tcp based video streaming session a tcp based music streaming session a file download session a group conferencing session a database access session a remote terminal access session a telnet session an e commerce transaction a remote procedure call or an tcp based network communication sessions service gateway 300 is operationally coupled to a processor 310 a memory module 320 a network module 330 and a computer readable medium 340 the computer readable medium 340 stores computer readable program code which when executed by the processor 310 using the memory module 320 implements the various embodiments of the present invention as described herein in some embodiments service gateway 300 is implemented as a server load balancer an application delivery controller a.