Ported request log output
Directly set SO_KEEPALIVE in buildAnswerHeaders()