Add -i option to register with interface IP.

See #4.