Parse out ports from externalip strings if present.

If not, continue to use the default. Should fix a problem reported by
Justus Ranvier on github.

Closes #38 (again)