Fixed various bugs. Throughput test works fine now
Added poor mans flow control, which simply stops receiving from a certain compute node if the size of its buffered messages exceeds a certain value. Downside is that the gateway starts using 100 percent CPU in this case