The issue with parsing server's respond is solved

Server returns big html code in case the error occurred. We have
to read this data massive per line. BufferReader is used.
Some additional information can be found in "workbook" of Klimenkov,
Gavrilov and Copa on p. 71