Finish initial SSL support, including better stats