Mac fixups

* Removes a significant delay answering small requests when running on Mac Os X.
* Changes use of *BSD sendfile() to more closely mimic linux version.