NaCl port of libevent. Work in progress.