Made program compatible with new SocketClient again