Wireshark is a great tool for inspecting network traffic, with support for a lot of filters and such.