change name send_data_frame() to write_bytes()
cleanup