Minor Ruby style and module usability cleanup

I made these changes based on a simple ```nc``` based listener that spewed data since I don't (yet) have access to a vulnerable device.  This should clean things up a bit, but otherwise #4229 looks solid.