Introduction to the implementation of websockets