Command timeout (merge PR #117)

Send SET command_timeout = <timeout> to backend when needed.
Extend the Socket.Poll() timeout by 5 seconds to try and guarantee that the backend's timeout error will occur before the frontend's timeout does.