code: public void start() {
  		if (socket == null) {
  			throw new RuntimeException("Cannot bind a server that has not been initialized!");
  		}
  		running = true;
  
  		Thread t = new Thread(this);
  		t.setName("HttpServer");
  		t.start();
  	}
docs: Start the server in a new thread