Speeding up the reference OpenFlow switch