Add _mem function based on pposix.meminfo() (Prosody 0.9+)