Removed dependency on sockets extension

Pancake now provides all required functions by itself. Should be a bit
faster.