Enque Javascript in Footer?

I currently enque jQuery like so – how do I move this to the footer instead?

// Enque: jQuery
if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11);
function my_jquery_enqueue() {
   wp_deregister_script('jquery');
   wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js", false, null);
   wp_enqueue_script('jquery');
}

Solutions Collecting From Web of "Enque Javascript in Footer?"

The fifth parameter is $in_footer. You have left that out. Add that parameter, set it to true.

wp_register_script(
  'jquery',
  "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js",
  false,
  null,
  true
);

But I echo the concern expressed by @Andrew in a comment. You can cause yourself trouble by deregistering/replacing the core libraries.

Reference

http://codex.wordpress.org/Function_Reference/wp_register_script

wp_register_script() takes boolean for last argument $in_footer (default false) to achieve this.

Note that it is strongly considered best practice to use same version WP core uses (determined by code) rather than hardcode arbitrary one.