benningm/LWP-Protocol-connect — pull request #4 by olegwtf (2013-12-28 07:22:20+00:00)
Title: prevent reconnection and do not change http proxy permanently

1. For https scheme our socket blessed to current class by IO::Socket::SSL::new_from_fd. For http scheme we should make blessing explicitly, to prevent reconnection (our version of http_connect() now will be called).

2. We should restore http proxy after request to prevent changing of user defined http proxy for this agent.