Sanitize end of proxy string in Net::SSL (via Mark Allen)