Open a new Context to be used with a Socket. This function is a performance
variant of context, designed to wrap a socket in a function
argument when calling request or reply.
Usage
.context(socket)
Value
An external pointer.
Arguments
socket
a Socket.
Details
External pointers created by this function are unclassed, hence
methods for contexts such as close will not work. However
they function as a Context would when passed to all messaging functions.
The context is automatically closed when the object is garbage collected.