primus/primus — pull request #220 by lpinca (2014-04-10 11:07:07+00:00)
Title: Improve the reliability of the port number extraction when `url.port` is undefined

This slightly improves the port number extraction to make it work when more complex URLs are used.
The default ports are already correctly handled in the `primus.uri` method.