• Add hostname option to mitigate DNS rebinding

    diracdeltas committed Jan 12, 2018
    This adds the `hostname` opt to allow the server to validate the `Host` header of incoming requests to prevent DNS rebinding attacks. Needed for brave/browser-laptop#12616.