sending/receiving via netcat now mostly works