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

Stop using StreamUtils methods.