MessageDirector: Split out the upstream networking code to a separate class.