Method open should be called before setting headers

On Android builds the previous solution wasn't working at all because Youtube wasn't recognizing the Android user-agent. This was causing Youtube to not send back the correct streamUrl.