Make -o respect specified, or default, -a value

Currently, `-o` always uses `127.0.0.1` as the host.