Testing for IPv6 support.

Includes fallback.
Including all files in dist
fix narrowing error