getpaste: support passing arguments to handlers