Scenario
Whenever the netcat server receives a connection, I want it to sleep for 2s before returning a HTTP response.
I know we can turn netcat into a simple HTTP server by something like nc -lp 3000 < httprespose.
Question
How do I simulate the 2s delay?