extending NanoHTTPD server now instead of trying to modify directly