Add cookies to XML requests if using premium(to authenticate), also make more flexible rtmp replacement