fixes #6: IPv6 support
package restructuring