Getting baseURL for JMS messages from event user data field, which is set using by HTTP API from UriInfo baseURL

Fixes https://www.pivotaltracker.com/story/show/72351918
Move "baseURLSet = true" to the end of the "try" block in case an exception is thrown.