Backport support for Expect header to libevent-1.4.

I applied this patch to libevent-1.4.14b-stable locally and did a ./configure && make && make verify to check that it didn't break anything.