Core foundation for task queueing, high level socket management, encryption and more