- added support for agents
- refactored how server support was implemented