Consolidate sock and io mods