ECDSA multibackend

Based on #1090 currently.