Added test for idle connection handling
Added test for idle connection handling
Added unit test for CONNECT through chained proxy
Nicer API for connection state management