Fixed problem on HTTP disconnect: the sessionId header wasn't reset on response