IPOP STAT SERVER prototype

still needs some improvement.
need connection table in DB.