Merge pull request #539 from TTimo/master

Adds a needed Windows system library dependency
Added clarification about connect on ROUTER
Merge pull request #540 from hintjens/master

Small clarification about connect and ROUTER
Refactor code so that messages go through engines
Merge pull request #541 from hurtonm/rework_message_flow

Refactor code so that messages go through engines