replace curl with wp_http - thanks rmathis (fixes #14)
indentation