ValueError and IpAddressValidError exceptions were added
section_check and directives_check func were added to config_helper