fix: set readyState = 0 on create socket and bc