Fix XCode 5.0.2 compiler warning for 64bit.
Make connectWithSession work with passed in support var.