Gets the options from the specified URL object.
The options field is an optional field that might follow the password in the
userinfo part. It is only recognized/used when parsing URLs for the following schemes:
pop3, smtp and imap. This function however allows users to independently get this
field at will.
The optional flags
parameter can be a combination of flags as described in
the documentation of the hurl.URL() function. See hurl.URL for details.