Major fixes.

- SSL connection to servers.
- Detection visitor real IP address behind proxy.