Client Socket Fix

Messed up client socket template.