Make socket server integration work