basemixer: Store handled ports on a hash table

Change-Id: I14b8f4c696b8ebfb2dc932a4c47fec90a1033150