Efficient Reconstruction of User Sessions from HTTP Traces for Rich Internet Applications