docs: function _websocketPort(ctx, port) {
    const forwarded = ctx.header['x-forwarded-proto'];
    const protocol = forwarded ? forwarded.split(',')[0] : undefined;
    return protocol === 'https' ? 443 : port;
  }