Check connection and datasource before wrapping

Dev can now use SFSUtilities.wrapConnection without having to check if the connection is already wrapped.