emit 'ready' when initial self lookup is finished

not after K nodes are found
2.2.0
Update client.js

fix to make live tests pass
only convert infohash once
2.2.1