Changed import paths to fix things a bit
Added attribute to access full host string