improve openssl read and write handling
added a more vigorous zombie handler

now that we have persistent connections, a better zombie handler was
needed to shut down correctly.