include missing openssl headers and remove unused legacy libevent1.x headers