Add support for hooks

- Add a register method
- Added /who and /whois hook
- NOTE: This is only framework and the presend hook!