fix use of Net::HTTP