Check if we have libbsd and fail if we don't have strlcat and friends
Use str{l,n}cpy and strlcat

… intead of strcpy and strcat in some places.