Sanitize end of proxy string in Net::SSL

Suggestion from Wen Yigang in

http://www.nntp.perl.org/group/perl.libwww/2012/10/msg7629.html