http - fixed runtime index out of range
Merge pull request #4 from cryptix/master

http - fixed runtime index out of range