Fix invalid assertion for IPv6 handling.
Add some trace logging for the libevent timer code to better debug #458.