prints the ipaddress to the sout
added leaveServer

implemented a proper close action
merge something