Revert "libevent"

This reverts commit 7baccda6e5cd98dd287cb8161091d3806ee47e59.
Revert "Revert "libevent""

This reverts commit c768e889796a7efbd9b6b01941db2861f6ba4d91.