BouncyCastle upgrade to 1.50

Old version is not JDK7 compatible + quite old.