Remove unused hostIP().
Simplify error handling in readResponse(), remove errShouldClose.
Refactor parent proxy connection type.