Retrieves the time string from the specified server and port and
returns it.
Parameters: host - The address of the server. Parameters: port - The port of the service. The time string. exception: IOException - If an error occurs while retrieving the time.