cononicalize url, better imperative support, cookie path consideration
updated readme