Pre refactor of client.go
More progress
TLS handshake working