Added http error exception handling
added option for uncompressed stream
Added URL error handling
Repair missing new lines
Bug in stringbuffer