Update worker.c

fix the accepted  client  type ,from 'pipe' to 'tcp'