Is the marriage contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.
Is a wife considered sinful if she asked for divorce because her husband married another woman?
A second marriage is lawful, and so it is impermissible for you to ask for divorce because of that. If you are certain that you won`t be able to deliver Allah`s rights and those of your husband`s , then it is permissible for you to ask for Khul`a (Divorce on the demand of the wife). However, you should exercise patience since after difficulties, there is easiness by the will of Allah.
Does wiping over one's socks during ablution permissible?
If the socks were thick, then wiping over them during ablution is permissible so long as wiping conditions are observed. And Allah Knows Best.
What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.