ADD custom User-Agent, HTTPS use by default, new versioning and some cleanup