code: function splitHostPort(hostport) {
  
     let host = hostport;
     let port = 80;
     const parts = hostport.split(':');
     if (parts.length > 1) {
        host = parts[0];
        port = parts[1];
     }
  
     return {'host': host, 'port': port};
  }
docs: /*
  Given a host:port string, split it into
  a host and port
  
  @param hostport (String) the host:port
  
  Returns an object with:
  .host
  .port