Fixed socket implementation. Now it is working according to spec. Added response panels