Made server work: accepts one connection, sends once, receives once, exits. Fixed client not sending anything