fix/#66 improve parseUri

parseUri now accepts localhost as a host