nio and socket test project