uint32_t ConnectionManagerImpl::ActiveStream::localPort() {
  auto ip = connection()->localAddress()->ip();
  if (ip == nullptr) {
    return 0;
  }
  return ip->port();
}
uint32_t ConnectionManagerImpl::ActiveStream::localPort() {
  auto ip = connection()->localAddress()->ip();
  if (ip == nullptr) {
    return 0;
  }
  return ip->port();
}