def wait_for_service(host, port, timeout=DEFAULT_TIMEOUT):
service = ServiceURL('<STR_LIT>'.format(host, port), timeout)<EOL>return service.wait()<EOL>
Return True if connection to the host and port is successful within the timeout.

@param host: str: hostname of the server
@param port: int: TCP port to which to connect
@param timeout: int: length of time in seconds to try to connect before giving up
@return: bool