Added saving a stream to the socket.io events.
Re-added credentials and gave it default values.