Added Network classes.
Fixed Protocol <-> Session.
Added x86 and x86-64 build for linux.