code: @Override
      public final Set<SocketAddress> getLocalAddresses() {
          Set<SocketAddress> localAddresses = new HashSet<>();
          synchronized (bindLock) {
              localAddresses.addAll(boundAddresses);
          }
          return localAddresses;
      }
docs: {@inheritDoc}