make initiate_connect IPv6.
update savebuf when updating buf, too
zero out the xfile so it does not get freed locally if it passed to dbuf
allocate one byte extra, so to null-terminate the text file contents