Initialize client's session

Signed-off-by: Jack Huey kitskub@gmail.com
Merge pull request #2213 from kitskub/client-connection

Initialize client's session