Use Net::HTTP and Zlib to get rid of shell dependency