Fix a couple of clang --analyze warnings.

Entries containing just a \n could cause request_process to dereference bytes
beyond the beginning of an array. log_kill would never report success for
closing an existing handle.