debug test_message_to_http_head