Add SRV lookups
Add PLAIN login support