Don't print the HTTP request.
read() returns an int, not a size_t
HTTP::_ReadLineFromSocket(): If reading fails, report the error back (via throw).
Forgot to use try..catch on another _ReadLineFromSocket invocation.
Added .gitignore
Added ResponseFinder class to search server responses into XML data.
Use ResponseFinder to read the server reply, and send the inventory only if the server is ready.
Remove debug leftovers
tab/whitespace fixes
Added more useful output