Move HTTP enums into their own files.

This will hopefully simplify things and most likely in future they are
required elsewhere.