Make configurable: reconnect delay and retries.

Fixes #9
Stay compatible with pre-R16 OTP.
Merge pull request #10 from ibnfirnas/gh-9-connect-retry-should-be-configurable

Make configurable: reconnect delay and retries.