redis-cli: ignore SIGPIPE network errors

Requires ignoring SIGPIPE and setting hiredis to not
return an error when EPIPE is detected.

Also see #2066