Fix null reference on non-HTTP response exception
Merge pull request #512 from kato-im/master

Fix null reference on non-HTTP response exception