fix the db proc to use the new relationship table, also fix the protocol to trans peer list, and fix the client recv routein so that it will read all data