Fix unusual spacing of preprocessor directives

Usually there is no space between "#" and the directive.
Fix Darwin compatibility with regard to SIGPIPE socket sends

Editorialized very slightly by Daniel Farina <daniel@heroku.com>