easy curl wrapper for php