Use HTTP connections. Check $http_response_header.

Twitter URL changed from http, from htttps… For configurations without
openssl.

Check $http_response_header is not empty, to avoid undefined index’s
when openssl is disabled.