Added end of stream, data, and negotiation hooks