Only process commands if there's data read.
Only process commands if there's data read.

Don't use leftover command data. The cmd_read value is always correct, so check
that cmd_read is nonzero before using data in the cmd buf.

JensRantil/beanstalkd,kr/beanstalkd,cgvarela/beanstalkd,yetone/beanstalkd,tdg5/beanstalkd,bmhatfield/beanstalkd,justintung/beanstalkd,lzpfmh/beanstalkd,justintung/beanstalkd,qbdsoft/beanstalkd,naderman/beanstalkd,wfxiang08/beanstalkd,diditaxi/beanstalkd,ifduyue/beanstalkd,naderman/beanstalkd,lzpfmh/beanstalkd,CompendiumSoftware/beanstalkd,davies/beanstalkd,r3jack/beanstalkd,Qihoo360/beanstalkd-win,JensRantil/beanstalkd,kr/beanstalkd,mickeyouyou/beanstalkd,qbdsoft/beanstalkd,PhillipMwaniki/beanstalkd,davies/beanstalkd,wyzssw/beanstalkd,amyvmiwei/beanstalkd,bmhatfield/beanstalkd,orangeholic/beanstalkd,cgvarela/beanstalkd,aidaima/beanstalkd,mobliyishengyuan/beanstalkd,ifduyue/beanstalkd,wfxiang08/beanstalkd,orangeholic/beanstalkd,aidaima/beanstalkd,potatosalad/beanstalkd,tdg5/beanstalkd,mobliyishengyuan/beanstalkd,wyzssw/beanstalkd,potatosalad/beanstalkd,pinguo-xudianyang/beanstalkd,pinguo-xudianyang/beanstalkd,handautsav/beanstalkd,handautsav/beanstalkd,naderman/beanstalkd,CompendiumSoftware/beanstalkd,amyvmiwei/beanstalkd,yetone/beanstalkd,mickeyouyou/beanstalkd,Qihoo360/beanstalkd-win,diditaxi/beanstalkd,r3jack/beanstalkd,PhillipMwaniki/beanstalkd,LomoX-Offical/beanstalkd-win,LomoX-Offical/beanstalkd-win