Fix: agent wasn't able to connect to Redis

When no password is given for the Redis server, the protocol (redis://) was missing from the constructed URL, which was resulting in failed parsing by the URI class.
Merge pull request #2 from arikfr/patch-1

Fix: agent wasn't able to connect to Redis
Fix: agent wasn't able to connect to Redis

When no password is given for the Redis server, the protocol (redis://) was missing from the constructed URL, which was resulting in failed parsing by the URI class.
Merge branch 'develop' of github.com:CopperEgg/revealmetrics-example-agent into feature/ares
Merge branch 'develop', remote-tracking branch 'origin' into feature/ares
better error handling