Added netcode. Untested.