Corrected usage of class instance variable.
Now supporting hibernatemode and standbydelay. No effort is currently made to ensure that the host supports standbydelay.
Added parameters hibernatemode and standbydelay to example.