add LocalIP()

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>