added http put http get and response parsing methods as well as compress and uncompress tgz functions