Fix sock in client