Modified Client
  -socket now created on thread