add a new constructor for Client to set context with host
Merge pull request #2 from zhentao/master

add a new constructor for Client to set context with host