Ah, wait a second. After playing a bit with the try catches and actually writing some proper debug output I found out the problem was with https://github.com/Bystroushaak/DHTTPClient/blob/master/dhttpclient.d. It doesn't allways download the complete webpage.
I should've written better tests I guess... Thank you for your time.