code: public void setHost(String p_host) throws MalformedURIException
    {
  
      if (p_host == null || p_host.trim().length() == 0)
      {
        m_host = p_host;
        m_userinfo = null;
        m_port = -1;
      }
      else if (!isWellFormedAddress(p_host))
      {
        throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED, null)); //"Host is not a well formed address!");
      }
  
      m_host = p_host;
    }
docs: Set the host for this URI. If null is passed in, the userinfo
  field is also set to null and the port is set to -1.
  
  @param p_host the host for this URI
  
  @throws MalformedURIException if p_host is not a valid IP
  address or DNS hostname.