Properly deconst and free arguments passed to the module functions.
Add channel type to the API.
Add client:raw().