Ensure remote hostname is logged. Fixes #3