added scaleform fix for sockets