Fix setting port in Session
Merge pull request #1 from ihrwein/master

Fix setting port in Session