creating server for each stream