Re-implementing timeouts using select().

Fuck you, baidu.
Indiana, the ssl explorer.