Code simplification
Code simplification

- improve code coverage
- hasStatusCode, hasReasonPhrase code simplified
- getResponseClass code improved and simplified
- add fetchStatusCode to remove duplicate code

navarr/http-status,lukasoppermann/http-status