Added better support for stats, added full support for ssl termination. Updated readme