Merge pull request #3310 from sander-visser/fix-wrong-return-with-ssl-hw-accel-if-init-fails

Expose SSL HW record acceleration error.