Self-contained socket library for java 1.6+, based on NanoHTTPD