Fixed a problem with wakeonlan. Improved doku & tests