Fix pingback takes for ever

Replace PHP's get_headers method by a curl substitute.
This also solves problems, when importing a new model.