Cherry picking 5e251f9
Made connection proxy return proxied -class
Fixed connection pool init
Cherry picking 245c323
Made resetting dirty keys trigger kvo