Server: Improve CLI error handling.

More descriptive error messages.