From where did you come to know? its not true you can work on contract basis but your sponsar should be that company who is providing your services to another company. Simply not allowed is that your sponsar is different and contracting company is different and you are working for third party.