added URI.escape to filter every passed argument. also added spec