coreserver: Add timeout value to RX API

Signed-off-by: Michael Buesch <m@bues.ch>
Port GUI to coreserver-API

Signed-off-by: Michael Buesch <m@bues.ch>
gui: Handle server messages with timeout

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