Tests abd fixes for UDP and IPv6 support. Still some problems in testing with IPv6.
Added a setup.py. Currently using setuptools since in distutils there's no "test" command built in... Need to investigate this.