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

init client.