Setup the GMimeStream only when needed