Bump to 4.0 version.

Added multi-thread support with httpmt functions and http_ctx.