Making jnstrument work with new Server and https