fix a bug in the router with the router mandatory feature
Fixed a bug in the tcp connector causing exceptions and too may file descriptor
Merge pull request #55 from somdoron/bug_fixes

Bug fixes