fix Connection#new for latest nightly