docs: def domain(host, port, username, password, avail_timeout=240.):
  	
  	"""
  	Endpoint domain.
  	
  	:param str host:
  	   Endpoint host.
  	:param int port:
  	   Endpoint port.
  	:param str username:
  	   Endpoint username.
  	:param str password:
  	   Endpoint password.
  	:param float avail_timeout:
  	   Availability check timeout in seconds.
  	:rtype:
  	   Domain
  	:return:
  	   Domain for the given endpoint parameters.
  	"""
  	
  	return Domain(Endpoint(host, port, username, password), avail_timeout)