Bugfixes for lhttpc_client rewrite

Fixed connection attempts and pool usage