Fixed parsing data frame.
Fixed send data frame.
TODO figure out how to handle big amount of data. At the moment does not work.