Add HTML checking to htmlparse.c, checks if the provided HTML is valid or not