Added check if pem key length was to small.
Removed another unused file.
Use GetTickCount64() instead of GetTickCount().
Remove some deprecated functions.
Removed more platform #ifs.
Removed symhacks.h and all traces of it in other files.