added parsing utlities and a global config file
tcp_socket can handle hostnames now