Added class "Socket"

Added class "Socket" for utilizing sockets. Also added a dummy index.php