added a save method to the SipStream