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

Currently, -o always uses 127.0.0.1 as the host.
Merge pull request #82 from jfsiii/patch-1

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