stats: added optional CLI arg "port" to specify non-default port