correctly identify retry on connreset
Change container count to come directly from the daemon
Properly resend buffered client data on connection reset
Fix container count call