make client and server code more debug-friendly for dev work