if response has not "{" character, code was crashed.

on my test server while testing, Server start to return;
```<html><head><title>Not found</title></head><body>Not found</body></html>```

and my application began to crash. Eventually we have to check this character before using substringFromIndex method.