Preferably the encapsulation is implemented using standard languages and protocols, such as XML and MIME. [0455] Transport layer 166 handles WAN connectivity and the actual transfer of RPC messages between the client and server application transport layers.