Added support for using zctx_shadow on a context which didn't create any sockets yet

related to Issue #277