Replace Curl with built-it WP HTTP functions
Also roll back .gitignore, because it caused some problems