fixed new connection wrapper, added support for reference method params
Authored by: bwhiteley 2006-08-31
Parent: [r248]
Child: [r250]