Add ability to get the remote agent’s hostname and version.