[TS-1538] SSL accept performance regression

We need to hold a Continuation mutex across the IO to force the SSL
handshake. Trampoline through a special purpose trampoline so that
we don't have to bottleneck on the acceptor.
AM_CONFIG_HEADER was deprecated and removed from latest automake