The method of Claim 4, comprising the further step of: the gateway reading a session state stored in the session context; if the session state is closed, indicating that the session is not active, the gateway opening the session and informing the client that the connection request is accepted.