SSL: Fix for broken ECDH ciper suite in R16B

See: http://osdir.com/ml/erlang-programming-bugs/2013-10/msg00004.html

Fix inspired by https://github.com/extend/ranch/commit/c0c09a1311
Merge branch 'master' of git://github.com/zotonic/mochiweb