fix(client): keep alive for TCP connection

Avoid the watch command to wait on a dead machine
fix(requests): handle the case that http response could be nil

The case may happen if the request is cancelled because of
TCP keep-alive policy.
Merge pull request #107 from unihorn/14

fix(client): keep alive for TCP connection