I don't have an answer for you, but it seems that this has been asked before. If you google for lwp proxy Unsupported Request Method and Protocol you will find all the previous discussions. Maybe Perl https parser would help.