Merge pull request #352 from xAnubiSx/master

NPE fix in TextHttpResponseHandler and AsyncHttpResponseHandler