minor cleanup
add debian patches: IPv6 support and more