Added SSL support

`make SSL=1' command builds client with OpenSSL support.
from_url() is able to parse wss:// addresses and connects using secure socket
in that case.

TODO: Didn't test this for win32

Signed-off-by: Slava Barinov <rayslava@gmail.com>