fix compiling errors because of new namespace of network module
Merge pull request #4801 from minggo/namespace

fix compiling errors because of new namespace of network module