Added some new features such as http parsing, however having trouble wit...

...h dns lookup using gethostbyname and also getaddrinfo. both are failing.