added ability to derive the soap/jms properties if not provided to ease
the implementation for native clients.  Updated the native client not to
set any usr headers.  Also fixed bugs with mistaken use of sprintf.