send reply to client