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.
506, 507, 508 and 510 could be added as well. What would be nice is to offer a userland function to expose a map of HTTP status codes as well.