socket#monitor now accepts an object.