Fix comparison.

The node id must be interpreted as an int otherwise the check is
useless.
Update the routing table on response.
Fix unicode() when id is None.