NOTASK feat(really-client): functional API

- convert API to be functional instead of OO
- finalized heartbeat
- offline handling
- add `reconnect` function

TODOs:
- needs testing