Fixed an error while raising an exception if no HTTP status line is present