Fix a race condition on the gproc table.
Fix a race condition on the gproc table.

We have to wait for the appearance of the right entry in the gproc
table, or we will silently get back the value undefined. In this case
we are then using undefined to track the peer which is a wrong thing
to do.

jlouis/etorrent,beni55/etorrent