Only using Net::HTTP::Proxy when proxy provided (otherwise using Net::HTTP instead)