Made it compilable with clang and fixed all the warnings with -Wall

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Merge commit '02d0155bec4ecc8b3fc91fda00ca03d67b6445bf'

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>

Conflicts:
	modules/src/dns_parse/Makefile