Add label to argument expected by the listen callback

Signed-off-by: John Else <john.else@citrix.com>
Pass the connection to the listen callback

Signed-off-by: John Else <john.else@citrix.com>
Connect now takes an inet_addr rather than a string

Signed-off-by: John Else <john.else@citrix.com>
Move connect_by_name next to connect

Signed-off-by: John Else <john.else@citrix.com>
Remove optional args from connect_by_name

Signed-off-by: John Else <john.else@citrix.com>
Make password argument to connect optional

If no password is supplied, don't send the PASS command at all.

Signed-off-by: John Else <john.else@citrix.com>
Reformat implementation of connect_by_name

Signed-off-by: John Else <john.else@citrix.com>