Support for multiple failed statuses
Bind to any available address
Update of missing features
1. Check for notifications that have timed out
2. Moved sql related code into a separate function (for testing)
3. Refactored to_dict to allow new Notification fields if required
Implement tests