Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43501
This is compile tested only, please run test and report back. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41531