1. layout api server
2. fix some bug
3. local address discover for '0.0.0.0' binding