Defined new states for SSL sockets.
SSL connection working.

- very slow start-up, need to find out why
- connected to localhost:443 apache server
- does not authenticate server's certificate yet
Clean up SSL work.

Set default CAPATH for Linux
Add ioctl handlers to set CAPATH and CAFILE