Yes, i tried to make everything modular. nxNetwork is standalone, using only synapse
https://code.google.com/p/nxpascal/s.../nxNetwork.pas
Code:
uses {$IFDEF UNIX}cthreads,{$ENDIF}
  Classes, SysUtils, synsock, blcksock;
...
(and uses Math; for implementation)
More testing for it would be welcome.