Add socket program sample