Hostmode implemented and preliminarly tested.