After merging the error handling branch, the problem that this branch wanted to solve does not happen anymore. (If you have the wrong host, libxively does not crash. You get a bunch of error messages and keep trying to reconnect). 

Do you want to remove this branch, and avoid any possible incompatibility with posix systems? Or do you want to keep it just in case the SIGPIPE happens for some other reason we have not seen yet?