Where it all begins: protostars contain the icy ingredients crucial for the genesis of habitable planets