Add sendError server method
initial server handler with 'hi' handler