Added recv, implementation of channels limit and some cleanup.
Fixed test (can't limit to 4 channels and then spam on 256)