added http headers names check
updated log messages formatting