BugFix: Now marking packets as sent
added server interfaces
implemented a socket based server