# Functions
Reason takes a string message that is to be sent in an `OK` or `CLOSED` command and prefixes it with "<prefix>: " if it doesn't already have an acceptable prefix.
URL normalizes the URL
- Adds wss:// to addresses without a port, or with 443 that have no protocol prefix
- Adds ws:// to addresses with any other port
- Converts http/s to ws/s.