fix ResumableIO: ignore other exception when upload failure
close idle connection after finish a request;
fix inputstreamat bug
fix client output info
change format
Merge pull request #35 from chzyer/feature/v6

fix bugs and close idle connections