Fix the null networkHandler in the MessageContext