NetFPGA Hardware Modules for Input, Output and EWMA Bit-Rate Computation