     # to be good to go through the screening process. This is good
     # place to implementation various schemes for authorization. If
     # you wish to decline, just don't call `next` and close socket.
+    # This implementation checks whether socket connection is legit.
     screening: (context, socket, binder, next) ->
+        assert acc = "Verified %s request".green
+        assert rej = "Militarized %s request".red
         sha1 = -> require("crypto").createHash "sha1"
         key = (x) -> "securing:rduplex:token:#{x}"
         gen = (x) -> sha1().update(x).digest "hex"

    # information on the parameters it accepts. Beware, this hook
    # is asynchronously wired in, so consult with `async` package.
    # Please be sure invoke the `next` arg to proceed, if relevant.
    headers: (request, response, resource, domain, next) ->
        return next() unless response.statusCode is 200
        sha1 = -> require("crypto").createHash "sha1"
        key = (x) -> "securing:rduplex:token:#{x}"
        gen = (x) -> sha1().update(x).digest "hex"

# ensured to be the same client that tried to connect over duplex
# channel. Also, each request has a TTL for the duplex connection.
# The implementation depends on `RedisClient` and running Redis!
module.exports.MarkDuplex = class RDuplex extends MarkDuplex

    # This is a marker that indicates to some internal subsystems
    # that this class has to be considered abstract and therefore
