The present invention provides a system, method and apparatus for
maintaining a connection between a server and a client by receiving a
message, determining whether to store one or more elements of the
message, storing the one or more elements of the message when the one or
more elements of the message are to be stored, transmitting the message,
and determining whether the server has failed and when the server has
failed, restoring the server to a pre-failure connection state using the
one or more stored message elements.