Added support to store outgoing requests to realm database locally