Came up with viable approach for making this thing super easy to use. Implemented webrick ssl, webdriver, and phantomjs, although i can't get phantomjs working because it seems that either it doesn't support csp or it's ignore ssl flag disables csp.