SSL Support and some cleaning up output