make socket non-blocking, get rid of alarm(), add timeout to read_persistent.
make socket non-blocking, get rid of alarm(), add timeout to
read_persistent.

joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib