Fixes from Contributors (thanks all)
Log and suppress errors when sending search responses to clients (i.e if client disconnects after sending search request).
Add whitespace to search response HTTP headers to improve compatibility with some clients.