Various changes

- Added PONG reply to keep the connection from failing.
- Added status checks.
- Added first reaction to incoming messages.