MT fixes for momentup.cpp, OpenSSL replaced with CryptoPP