Adapt for new netlib SNI API.
Make pathoc request return more human-friendly.
Improve robustness of proxy CONNECT, test coverage to 100%.