build from a string
remove client if connection is nullified