All you have to do is make beds out of whatever seems reasonably comfortable and then notice that a certain material keeps the mosquitoes away. They had thousands of years to do it.