:headers may be nil at this point, so handle that properly so we don't throw a nil-concat exception ... in the exception handler.
if broker lookup fails, give a sensible error