SSL/TLS implementation

@denisenkom please review
closes #27