code: public void run() throws Exception {
  		if (this.header.contains("Upgrade: websocket")
  				&& this.header.contains("Sec-WebSocket-Version: 13")) {
  			runWebSocket();
  		}
  		if (this.header.contains("GET /livereload.js")) {
  			this.outputStream.writeHttp(getClass().getResourceAsStream("livereload.js"),
  					"text/javascript");
  		}
  	}
docs: Run the connection.
  @throws Exception in case of errors