Switch Socket Server to Socket Client