extra check for the $port, and added seperator between posts and gets in the report