Socket communication test