iperfer - fixed socket connection issues, fixed server output, refactored code