Modifing validation for paths

See LOGSTASH-942 for more info
Merge pull request #392 from electrical/path_validate_changes

Modifing validation for paths
Add secure setting as I need ssl
Merge pull request #393 from bobtfish/irc_ssl

Add secure setting as I need ssl