Rename ssl_socket_free() to ssl_socket_close().

It does more than just freeing the pointers. Also invert the parameters
order. SSL before CTX.

Signed-off-by: Thiago Farina <tfarina@chromium.org>