apply patch 2174 from Alan
http://bazaar.launchpad.net/~alan-paterson/openpetraorg/20130115_alan_net_remoting/revision/2174
apply patches 2175 and 2176 from Alan
http://bazaar.launchpad.net/~alan-paterson/openpetraorg/20130115_alan_net_remoting/revision/2175
http://bazaar.launchpad.net/~alan-paterson/openpetraorg/20130115_alan_net_remoting/revision/2176