Stop using StreamUtils methods.
Merge pull request #159 from greboid/newserverdialog

Stop using StreamUtils methods.