fix gh#21 - 0.5.0 portspec changes break client.port() resulting in KeyError
Merge pull request #22 from keeb/fix-portspec-gh21

fix gh#21 - 0.5.0 portspec changes break client.port() resulting in KeyE...