fix: domain use lower character
fix: buffer check for tcp connect