Stands for keep your socks. It means stay safe in British slang.
"See you later. Keep your socks!" - KYS