Read port number from announcement

This should make port mapping and tunnelling work, as well as
supporting Photon.
Merge pull request #1 from rrrus/hr-updates

Read port number from announcement