Server update.

Updates on closing streams, solved socket trouble in Streamer class.