Add better error handling with socket code in freshclam. Tell the HTTP server to close the connection when submitting stats.
Merge remote-tracking branch 'upstream/0.98' into 0.98
Merge remote-tracking branch 'upstream/0.98' into 0.98