coreserver: Add client-side message processing

Signed-off-by: Michael Buesch <m@bues.ch>