add module for linewise socket i/o