Refactor Gearman driver to use Payload and Response.