public static final URI BASE_URI = getBaseURI();
protected static HttpServer startServer() throws IOException {
System.out.println("Starting grizzly...");
ResourceConfig rc = new PackagesResourceConfig("restful.insecurity.resources");
HashMap<String, Object> config = new HashMap<String, Object>();
config.put(FeaturesAndProperties.FEATURE_DISABLE_XML_SECURITY, Boolean.TRUE);
config.put(FeaturesAndProperties.FEATURE_FORMATTED, Boolean.TRUE);
rc.setPropertiesAndFeatures(config);
return GrizzlyServerFactory.createHttpServer(BASE_URI, rc);
}