Fix Agent initialisation order.
Some more robustness for the Eve Servlet in case of handshake. (Still to copy to other servlets like the debug servlet)