Minor changes and fixes. Multi-threaded test cases in f_ssl.c. Some more docs added.