EndToEnd tests. Handshake and disposal fixes. Update nuget dependencies.