Bug fixes.

Issues left still. Peer to peer file transfer not working for more than
2 peers. Server not able to handle the second peer.