Added BCLSocket function

I want this code it is AWSOME!!