enhanced socket support for FPC 2.7.1 branch
- no need of having the Synapse library installed