Thanks for answer!
I had to convert the protocol ID from haxedecimal int into char string anyway so I was sending somehow string at all. Therefore I guess I'll make up some protocol ID consisting of 4 chars ^^
It's generally called a FourCC 'magic number'.
It's a poor way to secure your communications, but there you go.