Add -i option to register with interface IP.

Signed-off-by: Michael Elsdörfer <michael@elsdoerfer.com>