Added catch for BadStatusLine