Inform about bound port for os-chosen ones

This class already uses getsockopt to get the port. Unify/refactor to function? Note that you should probably also check the return value (like in _resolveHostAndPort)