fix headerTimeout should be longer and body should be shorter
refactor use transtiemout
Merge pull request #265 from xiangli-cmu/fix-timeout

headerTimeout should be longer and body should be shorter