Revert "- use nonblockign reads/writes to signal timeouts instead of"

This reverts commit 77dac8486b1a454a6c181fa1a8c5a9aba29b5c95.

I thought my use of 'select' was causing bugs, it wasn't. The problem I
found was in logstash's lumberjack input.

Conflicts:
	proto.c