add support for rake demo:socket