Fix client_handler in scotty-backend.