tls-test: use tp-glib single headers
add missing config.h includes
coding style fixes