Move MAX_PUBLIC_NAME to limits.h
Move safe_strcpy() to utils
Remove redundant #include