Large upstream responses can trigger timeouts while properly reading from connection

Deadlines are only reset when writing to upstreams.  When an upstream has a large response such as a big file, the connection deadline is not reset.  This patch resets the deadlines on both connection reads and writes to prevent timeouts.