PHP implementation of port-knock client