Netsniff implementation in CasperJS