Add handin socket communication