Resolve lo_address hostname in send_data() if necessary.

Fixes testlo, which was broken in previous commit.