Extracting protocol to its own module.
Adding a check if userAgent when unregistering a channel.
Adding protocol to the readme.