def proxy_send(name, args, &block)
    proxy = Hoosegow::Protocol::Proxy.new(
      :stdout => $stdout,
      :stderr => $stderr,
      :yield  => block
    )
    encoded_send = proxy.encode_send(name, args)
    docker.run_container(image_name, encoded_send) do |type, msg|
      proxy.receive(type, msg)
    end

    proxy.return_value
  end
Public: Proxies method call to instance running in a Docker container.

name  - The method to call in the Docker instance.
args  - Arguments that should be passed to the Docker instance method.
block - A block that can be yielded to.

See docs/dispatch.md for more information.

Returns the return value from the Docker instance method.