Free event_base after completion
Add a HTTP GET primitive

This primitive doesn't return the response, but just prints out to
stdout. This needs to be changed. Also, the current changes don't
build. Need to be fixed.
Remove bufferevents and use libevent 2.0 API

Builds fine. Doesn't run the experiment though
Use properly formatted urls
Use libcurl

Instead of using libevent's http API, use libcurl. It's just sooooo
much easier.
Write the entire response to stack

Previously we were just writing the header to the stack
Use a struct buffer to store the response
Clean up buffer usage.
rename interval to interval_seconds
increase memory availability
Don't print the URL to stdout
Add a TCP Connect primitive

This currently just creates a socket to a hard coded IP.
Make tcp_connect accept input from lua
Return boolean on success in tcp_connect
Use inet_aton

inet_addr is deprecated
Validate ip address