EUCA-7492

pulled session, loggin and misc handler code out of __init__ and into session.py. Also removed un-used host rewrite option for security concerns