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.
Merge pull request #3 from joseandro/patch-1

Method open should be called before setting headers