Resource management improvements and factoring of common stuff into baseConn
proxyConn now extends bsaseConn, removed log statements
Variable renaming
Variable renaming