Simple programm for testing TCP and UDP sockets