added more testing tools
changed error reporting on main_loop
changed buffering in mbedread-client to concatnate and now will check for buffer overflow