bugfix: connection.setup - cast port to int
making connection test imports play nice with nose