Separated networking part from core library