A man has been jailed after he admitted being involved in the supply of Class A drugs in Southampton.