Quickpay v6

Updated to work with Quickpay's protocol 6.  Nearly a complete re-write.