Migrate to connect 3.x

fixes #19