consolidate protocol constants

Changed all internal use of NPN protocol identifier strings to use a corresponding value a new public enum: `Protocol`.