Misc fixes for media support

Properly handles HTTP headers and removes Audio Data API support