changed RemoteIRCClient to use std::auto_ptr from the factory