The errno and errno string are printed because send() on tcp socket failed, but that is after the connection was established.
Anyhow, the error might have been because of a shared pointer not being initialized, that resulted in closing the connection. I pushed a commit to master branch, can you give it a try and see how it goes this time?