added overload for notification to specify timeToLive etc
added max delivery time for open space notifications