Yes, this is a valid configuration.

Sorry, avast does not work with SSL connecetions.

You can try. Probably you won’t have a conflict and avast will scan all traffic at that specific port. If you have a conflict, well, just remove the added port number on the avast4.ini file.