Parse URI port correctly.
Merge pull request #5 from cgay/dev

Parse URI port correctly.