Java : Unsafe custom SSL implementation (trivial)