Remove useless `old`
My fault. Apologizes.
Fix an infinite loop
Because of dumb conditions, the end-of-file indicator was never reached.
The world is not ready yet for pthread
Remove pthread. Yes, this is terrible.

By the way, fix an OBO spotted in `http.h`.