return current worker or client object.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Returns false if Gearman is not supported on the system.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>