Fix call socket from client