Heartbeat support

Fixes #44 
Closes #22 

Opened PR for discussion
`return array_unique( $result );` instead.