Fixed internal state delegate callback
Added new internal state to indicate buffering in midstream