Marked hsts should_secure_host function as inline.
Use const char * where possible.
Removed test macros by functions.

This lead to better readable output in case if a test case fails.