NTP Support

Backported this from Giestgeld. Testing working fine.