Add test seam for strlen() function. Add separate functions that add additional checks for unsigned wrapping. Initialize socket value to -1.