Fix some errors in the new twisted HTTP client's connectionLost() methods.