abstracted the routines for test_http_client.c
added my_connect_addr_port
the client should shutdown the socket
copied the routines to test_simple_server.c
abstracted the server only routines
better vars naming