Add SSL support
Add proxy support (for HTTP only, not SSL)
Add support for a basepath added to URLs' paths