remove unused socklen argument from print_address()
format string fix and cosmetic fixes