Set socket timeout options on read / send