  * In this example we connect to a Spring application (see https://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html).
  *
  *  Created on: 18.07.2017
- *  Author: Martin Becker <mgbckr>, contact: becker@informatik.uni-wuerzburg.de
+ *  Author: Martin Becker <mgbckr>, Contact: becker@informatik.uni-wuerzburg.de
  */
 
-// CONSTANTS AND MACROS
-
-#define DEBUG_WEBSOCKETS
-#define DEBUG_WEBSOCKETS(...) Serial.printf( __VA_ARGS__ )
-
-#define WEBSOCKETS_NETWORK_TYPE NETWORK_ESP8266
-#define WEBSOCKETS_HEADERS_NO_ORIGIN
+// PRE
 
 #define USE_SERIAL Serial
 

    }
    USE_SERIAL.println(" success.");
    USE_SERIAL.print("IP: "); USE_SERIAL.println(WiFi.localIP());
    
    // #####################
    // create socket url according to SockJS protocol (cf. http://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html#section-36)


    USE_SERIAL.println();


    // connect to WiFi

