After Hayley does a favor for an old friend, she finds herself implicated in a killing and cyber-terror attack. Now, Beckett and Castle must rush to solve the case and clear Hayley