Add local_addresses() to enumerate the local host's interface addresses

Partial fix for issue #44 (no Windows support).