Fix issue 1291 - redis output to ipv6 host is not parsed properly

This is to fix https://logstash.jira.com/browse/LOGSTASH-1291

instead of splitiing input on :, look for ipv4 address or ipv6address in pattern then split properly. ipv6 address has to follow convention of using square brackets []