Fixed sending and receiving of nsp / endpoint; fixed credential passing for websockets