OpenSSL checks for str_size_and_int64

This is for str_size_and_int64 branch (Anatol).

It's in progres so please don't merge it yet!

I have created this PR just to make it easier to discuss the changes and possible issues.

TODO list (progress of this patch) is available at https://gist.github.com/bukka/7617548