socket & post parser