catch ECONNRESET on apple.

Second half of issue #15. This is a terrible hack. Looks like pandora
is killing the connection hard, instead of naturally. Since read()
never sees a proper EOF, this causes a cascade of errors in pbf.
Catching the ECONNRESET seems to be the best way to deal with it.

Closes #15