remove buildpacks
refactor websockets
Revert "refactor websockets"

This reverts commit 54bcf5dd7cd345e1af0960abfa242cf4b9073ce9.