Component for a simplified process of creating web-socket support