public TestEmbeddedServer( String host, int port ) {
		this.host = host;
		this.port = port;
		
		this.community_url = host + ":" + port + "/community";
		
		getKeys();
		
		TrustManager[] osTrustManager = new TrustManager[] {
				new LiberalTrustManager()
			};

		try {
			sslcontext = SSLContext.getInstance("SSL");
			sslcontext.init(null, osTrustManager, null);
		} catch (NoSuchAlgorithmException e) {
			System.err.println(e);
			e.printStackTrace();
		} catch (KeyManagementException e) {
			System.err.println(e);
			e.printStackTrace();
		}
		
		threadPool = Executors.newFixedThreadPool(300, new ThreadFactory(){
			public Thread newThread(Runnable r) {
				Thread t = new Thread(r, "Request thread pool thread");
//				t.setDaemon(true);
				return t;
			}});
	}