Added cURL based method to easily do HTTP requests, updated media functionality.