add ioutil functions
add timedout connect

ISSUE #10