Uncrustified. Added socket factory methods.