release global vm lock while waiting for curl_perform to finish.
move magic constants to #defines.
move non-ruby C code out into it's own files.
Merge pull request #1 from ledbettj/unblock
Not quite ready for master, but needs some of the changes in multi.