Split netutil into netutil and messageutil