Take a look at this: http://bitcoin.stackexchange.com/q/24051/14710