X509Backend support in multibackend

Depends on #1442. Will rebase after that lands.