server support listening on multiple addrs and ports
Merge branch 'master' into dev