just use BadStatusLine exception instead of socket peeking