You 'just' need to overwrite HTTPDataSource.cpp (see HTTPDataSource::read_at).
And then inject it to the core of media player =) (not so easy thing i need to say)
look at this research first - The flow of events during the Media Player Creation in Android Framework