System and method for optimizing communications using a communications pipe over a network. This invention provides means to locally execute an APDU script and collect APDU responses locally for batch transfer to a remote server....http://www.google.com.au/patents/US7162631?utm_source=gb-gplus-sharePatent US7162631 - Method and system for scripting commands and data for use by a personal security device