thread-safe Gearman client

part 1: (moving packet parsing logic to the job, make interface read-only) d72cf194e83d25f23b10cb801a4f6b147b5d0c0e