avoid multiple prepares per host with multiple sessions
Merge pull request #150 from aholmberg/1.0

avoid multiple prepares per host with multiple sessions