core: use constant for protocols.conf file name
protocols: also save new protocols to file