init client.
Merge pull request #566 from forumbyr/master

init client.