add timeout support.
fix params encoding issue.
fix request bugs.