Prevent sendto from sending SIGPIPE signal when socket has been shutdown for writing. Fixes #21.
Fixing indents (spaces to tabs).
Merge branch 'antonholmquist-master'