The process of the formation of British imperialism and the struggle for socialism