Added function for fsockopen to set port

Port will allow to ping particular service running on customized port