(PDB-660) Environments end-point streaming

This patch adds streaming to the environments end-point.

Signed-off-by: Ken Barber <ken@bob.sh>