Print out bound port

Currently, if `port` is set to `0` in the config, there's no way to determine the port that the server actually gets bound to.

This PR prints out the port that was bound t, and updates `getPort` to return the port actually bound if, if `0` was specified.