Some bug fixed and HTTP transfer encoding chuncked added