Added print_text method to printer client.
Implemented watchdog and connection monitor.