Removing 'http:' from all references to socket