updated main to include boost thread header.
Added http header.