Patch bitcoin 0.9.2

Edit 0.8 patch and apply to 0.9.2