Port argument to constructor was being ignored.

* Fixed port argument by setting it to self.port.
* Switch findPort to return the port so logic in if statement in constructor is more explicit.
* Added assertion because an empty port raises a misleading exception when subsequent trying to open an empty port.