Defined tr_print_num. print_num will be removed in future.
Added a test for getpeername(2) in server.