Follow-up: Convert listen_network_enum to string

The following discussion from !257 (merged) should be addressed:

We've decided to convert the listen_network_enum to string and add validation to it. See the referenced discussion for more feedback.

Edited by João Alexandre Cunha