Port Facebook middleware from Katana.

Depends on https://github.com/aspnet/HttpAbstractions/pull/113
TODO: CoreCLR WinHttpHandler does not yet support custom server cert validation.
ouch - should the property be missing altogether? that's a tough one... I guess this case is a point-in-time problem though.