don't log io.EOF
also change a few compile flags on the client