Use wget or curl to download ruleset.

This implement a fix for https://redmine.openinfosecfoundation.org/issues/897