Updated functions for sending and receiving messages
Made server- client solution more elegant and robust
Merge branch 'server_dev' of https://github.com/Ruhfo/Poska-hackers into server_dev