[pyagent] make websockify optional