I bet there are plenty of open source solutions for this. If Khaled wants to avoid any licensing, there might be a possibility to split the gzip part into a dll that can be freely downloaded in addition to mIRC.
yep, there is one in the official web page
GZIP seems free to me...