Problem: Socket functions should only be responsible for send.

Solution: remove receive calls, they are responsibility of client/server