1. A method for automatically generating meta-proxies in an HTML document, the method comprising: receiving the HTML document at a server-core on a server-side of a network; parsing and executing the HTML document at the server-core to create and populate a DOM of the HTML document, wherein the DOM includes code comprising at least one client-callable function configured to be executed on the server-side of the network; modifying the DOM at a server-framework on the server-side by generating a meta-proxy for each of the client-callable functions of the code plurality of meta-proxy that automatically replaces the respective client-callable function of the HTML document, the modification of the DOM creating a modified DOM; serializing the modified DOM as a modified HTML document at the server-core; streaming the modified HTML document to a browser on a client-side of a network; receiving on the server-side an XML HTTP request comprising the meta-proxy; restoring the respective client callable function corresponding to the meta-proxy; obtaining a result for the respective client-callable function; and transmitting the result to the client-side.