Changing the way server sends msg to peers and ...

Moving the creation of the socket descriptor into the coresponding
functions
Kinda make the peers communicate. Also rename vital variables