Display error message if no hack book exist for this demand

We generate url make a http request on it and verify the code return
to define if the url is valid if not we display an error message
if yes we display the url.
Replace preg_match by Hoa\Http\Response

Preg_match is not enough efficient to parse the Http response
this patch fix it by using Hoa\Http\Response and replace also
GET by HEAD
Use php_curl for getting http code
Complete code to use curl