Allow empty connection flags

Allow server connection with no custom flags set.

The previous implementation always put at least the single leading slash and created an invalid connection string like ```{imap.myhost.com:143/}```.