A man suspected of having an offensive weapon was arrested over escaping custody and for drug dealing after an assault on a Portsmouth street.