as_nparams method to facilitate message parsing.
Avoid too much string copying handling chans.
Use as_nparams in all modules.
NAMES command.