Share HTTP status codes map between SAPIs

There's some other stuff (header parsing etc.) which also ought to be shared, but this is, at least, a start.

This also means other code in PHP can benefit from this info.
Aha. But the header should not depend on other layer implementation, should it?