configure: reduce obsolete and redundant header checks
utils: move TSIG functions to the utils/common

refs #2137

Change-Id: I327a9431ab402ffbe6fac3230a678aa34b7add80