Add agent listen port as a config option.