Solved http engine problem - when connection:close present, simply read till the end of the connection.