[server] take socket bind port from config