Initialize client's session

Signed-off-by: Jack Huey kitskub@gmail.com