Better disconnect handling, pretty hex printing