Added flag for whether or not to cache the SocketAddres used by the Mina2Producer