Parse icon from pdf file based on its name
create socket on server