Fixed http/https issues of LWP::UserAgent, see also T#112893.