Add mode command.
Fix up protocol handler to use uci functions for setting wireless data.