Bash Curl Get Response Code