added ability to create not valid socket