Moved JSON stuff to own project.
Added support for redirects.
Many other enhancements.