In NdnProtocolInfo.jsm, put all functions in the NdnProtocolInfo class instead of being global.