Added ability to configure connection retry count

Also added an option to never stop trying for daemon processes.

My use case is using node as a logging agent daemon and the winston-logstash needs to be able to reconnect to logstash at any time.

The default retry is still `4` if not configured.