added example for listening on multiple interfaces