Merge pull request #142 from miniway/master

Raise exception when bind fails
Fix wrong Router xwrite_activated assert