please add support for fingerprint pinning via parameter

I have attached a simple patch to support this, but as I'm not used to perl programming you might want to review it.

Thanks for this useful application!