moved msgtype.h to protocol.h and moved protocol number there