Add dual-stack support for UDP transport.
Add dual-stack support for TCP transport.
Merge pull request #12 from ealekseev/dualstack

Make bernhard ipv6 capable.