Bug: BLZ-133: If cookies are disabled on the client we should be using jsessionid in the url to track HTTP sessions. This functionality is currently broken for AMF.
Details: This is the client side of the fix, there will be a server side fix shortly. If cookies are disabled on the client, it is detected as duplicate session on the server. HTTPChannel was working correctly in terms of adding jsessionid in the url but it was always triggering the duplicate session detection on the server when cookies were not enabled. To fix that, moved AppendToGatewayURL header processing to pingCompleteHandler so the jsessionid is appended before triggering the duplicate session detection on the server. Second, in NetConnection/AMFChannel, added some logic to disconnect the already connected NetConnection (in response to AppenToGatewayURL being called by the player) and reconnect with the jsessionid added to the url.