CONN-677: Added StreamUtils to handle proper opening and closing of streams
Merge pull request #655 from christophermay07/CONN-677

CONN-677