better error and succes callback handling and HTTP HEAD Demo