Allow creating slices from raw memory addresses

This is an update to #22. Submitting for further review.