add support for kqueue in main-loop
srtp patch is now in libre