Use libevent for meta socket input/output buffering.