Add remote commands for auto-completion.
Server-side implementation of actions needed for auto-completion.
Require that the return message be already NUL terminated.