1. A computer-implemented method comprising: initiating a communication session between a primary logic unit and a secondary logic unit, the communication session defined by a 3270 based protocol; querying the secondary logic unit during the communication session to determine if the secondary logic unit can process data in a browser compatible format; generating triggers during the communication session, to indicate that transmissions in the communication session have encapsulated the data in the browser compatible format when it is determined that the secondary logic unit can process the browser compatible format; activating a browser data encapsulation engine during the communication session to encapsulate the data in the browser compatible format in the 3270 based protocol by executing program instructions in the computer system; sending the trigger and the data in the browser encapsulated format using the 3270 based protocol during the communication session, the encapsulated data in the browser encapsulated format to be un-encapsulated as part of the communication session by executing program instructions in the computer system in response to receiving the trigger and not un-encapsulating data when a trigger is not received; detecting an out of sync condition when the currently displayed page is not the latest page received by a data stream manager; and implementing a corrective action when an out of sync condition is detected.
7. The method of claim 1 , further comprising receiving a second transmission without a trigger and deactivating the browser engine.