add support for checksum offloading

note: udp checksumming doesn't seem to work properly at the moment...