restraintd: fetch_http premature error cleanup fix

Fixed premature error cleanup for http fetcher.
restraintd: https support

Libsoup supports https but restraintd accepted http uris only, changed the
if statement to accept both.
Merge pull request #23 from sm00th/https_segfault

https segfault fix