Add host and port config to Session.
New test that doesn't pass yet.
Fix test.