http.client.BadStatusLine, not http.BadStatusLine.