handling multiple protocol-identical targets


git-svn-id: svn://oss.dbc.dk/sync_php/php/OpenLibrary/OpenOrder/trunk@58608 30e9dc4a-7611-4fbc-83ba-eecf79b76bd0
defensive code


git-svn-id: svn://oss.dbc.dk/sync_php/php/OpenLibrary/OpenOrder/trunk@58610 30e9dc4a-7611-4fbc-83ba-eecf79b76bd0