make module export only class
detect current connection/connected state
keep track of connecting status
do some basic validation on addresses
correct for latency in 'last beat' time