So to a normal web server that actually follows the HTTP specs, length should be one.  A length check is there just in case it's hitting against a regular server, that way you don't get a nil trying to get status_line[1].