Fix some exception-safety issues in connect, and add a new 'withConnection' alternative. Bumps us to 1.2.0.0.