make server respect baseurl setting from config

otherwise, server will use localhost as listen address if no argument is given.