Added defs to protect unknown protocols (where are they defined on
        OSX??)