Models of Planetary Envelopes for an Increasingly Hydrodynamic Theory of Planet Formation