Commit Martin's patch for pub + lib_v2.
Commit Martin's patch for pub + lib_v2.

Pub is still all kinds of broken with this, but it's slightly
less broken. Some tests pass, and at least the code *parses*
after this.

Review URL: https://codereview.chromium.org//11785028

git-svn-id: a0fc6a377c96b9059f80895148836233a16d98be@16763 260f80e4-7a28-3924-810f-c04153c831b5

kasperpeulen/http,donny-dont/http,dart-lang/http,dart-lang/http,dart-lang/http,dart-lang/http,dart-lang/http,dart-lang/http,dart-lang/http,dart-lang/http