Simple implementation of web socket programming.