added rtmp support for external urls plus some mime type fixing