Get rid of of dependency on libopenssl and refresh patches. Signed-off-by: Daniel Golle <daniel@makrotopia.org>