Safari Fixes

Going to have to respectfully disagree with #347

With this patch I'm able to both send and receive arbitrarily sized files.
Tested up to 3.8mb