change socket location in client