In a device communicating over a network, a proxy to delay timeout of an
application on the device where the proxy is on a communications path
between the application and the network, the proxy comprising means for
registering a data request from the application to the network; a counter
for measuring a predetermined time interval, the time interval selected
to prevent timeout at the application; means to send preventative data to
the application after the counter has expired but before a response is
received; means for modifying a response received from the network to
remove preventative data already sent to the application, creating a
modified response; and means for forwarding the modified response to the
application, wherein the proxy registers that a message has been sent and
waits a predetermined interval, and if a response has not been received
during that interval sends the preventative data to the application to
delay a timeout.