Java Hayes/AT modem detector