function port (protocol){
  switch (protocol) {
    case 'http:':
      return 80;
    case 'https:':
      return 443;
    default:
      return location.port;
  }
}
Return default port for `protocol`.

@param  {String} protocol
@return {String}
@api private