WIP
Only compile on linux and work with java6
Tell maven-bundle-plugin to generate MAniFEST.MF for nar
Fix errors, now testsuite pass again here
Detect if ipv6 should be used or not
Eliminate some compiler warnings
Explicit cast for eliminate compiler warnings
Make usage of accept4 optional as it may not be present