added configurable port and addrs
Merge pull request #1 from jstaph/feature/add_dynamic_listening_port

added configurable port and addrs