forked from httplib2-0.8 add chunk read support and fix proxy bugs