Try to provide a real hostname for the remote host to aid in debugging

Refs #4908
Silence set-but-not-used warning when timing isn't enabled